<?php
$this->load->view('login_header', false, false, 'common_assets');
?>
<h2><?php echo $page_title;?></h2>

<?php if($messages): ?>

<table class="page-list">
	<tbody>
<?php $i = 1; foreach($messages as $message): ?>
<?php if ($i % 2 != 0): $rowClass = 'odd'; else: $rowClass = 'even'; endif;?>
	<tr class="<?=$rowClass?>">
		<td><?=$message['MSG_DATE'];?></td>
		<td><?=$message['MSG_TITLE'];?></td>
	</tr>

<?php $i++; endforeach; ?>
	</tbody>
</table>
<?php endif; ?>

<?php 
$this->load->view('login_footer', false, false, 'common_assets');
?>

